"""
URL configuration for qadinterfaceapi project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/4.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from qadinterfaceapi import views

urlpatterns = [
    # test
    path('admin/', admin.site.urls),
    # path("qadapi/", views.TestApi.as_view(), name="datestamp"),
    path("purchaseorder/discretepo/", views.DiscretePo.as_view(), name="PurchaseOrder"),
    path("items/itemmaster/", views.Itemmaster.as_view(), name="Itemmaster"),
    path("purchaseorder/poreceipt/", views.Poreceipt.as_view(), name="Poreceipt"),
    path("transactions/Unplannedissue/", views.Unpissrct.as_view(), name="Unpissrct"),
    path("workorder/backflush/", views.Backflush.as_view(), name="Backflush"),
    path("transactions/intransfer/", views.InTransfer.as_view(), name="InTransfer"),
    path("bom/bommastr/", views.BomMaster.as_view(), name="InTransfer"),
    path("bom/loadbommastr/", views.Loadbommastr.as_view(), name="loadbommastr"),
    path("routing/routingdetail/", views.RoutingDet.as_view(), name="InTransfer"),
    path("supplier/exportsupplier/", views.SupplierMaster.as_view(), name="exportsupplier"),
    path("puchaseorder/podetexport/", views.PoDetail.as_view(), name="podetexport"),
    path("salesorder/salesorderexport/", views.SoDetail.as_view(), name="Sodetexport"),
    path("customer/exportcustomer/", views.CustomerMaster.as_view(), name="exportcustomer"),
    path("supplierinvoice/createsupplierinvoice/", views.SupplierInvoice.as_view(), name="createsupplierinvoice"),
    path("qadgrir/qadgrirexport/", views.QadGrir.as_view(), name="qadgrirexport"),
    path("customer/custrequiredschedule/", views.CustRequiredSchedule.as_view(), name="custRequiredschedule"),
    path("supplier/supplierschedule/", views.SupplierSchedule.as_view(), name="supplierschedule"),
    path("production/productionschedule/", views.ProductionSchedule.as_view(), name="productionschedule"),
    path("inventory/inventorydetail/", views.InventoryDetail.as_view(), name="inventorydetail"),
    path("project/projectdetail/", views.Project.as_view(), name="Project"),
    path("costcenter/costcenterdetail/", views.Costcenter.as_view(), name="costcenterdetail"),
    path("cost/costdetail/", views.Cost.as_view(), name="costdetail"),
    path("supplier/supplierinvoicebalance/", views.Supplierinvoicebalance.as_view(), name="supplierinvoice"),
]
